# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=asteroid-wallpapers
pkgver=0_git20220112
pkgrel=0
_commit="9e0ba318b07dbff317bded53d4cfda1b6cc330c8"
pkgdesc="Default set of wallpapers for AsteroidOS"
url="https://github.com/AsteroidOS/asteroid-wallpapers"
arch="noarch"
license="CC0-1.0 AND CC-BY-2.0 AND CC-BY-NC-SA-2.0"
source="https://github.com/AsteroidOS/asteroid-wallpapers/archive/$_commit/asteroid-wallpapers-$_commit.tar.gz"
options="!check" # No code to test
builddir="$srcdir/$pkgname-$_commit"

package() {
	install -dm755 "$pkgdir"/usr/share/asteroid-launcher/wallpapers
	find . -mindepth 1 -maxdepth 1 -type d -not -empty -not -name ".*" | while read -r i; do
		cp -R "$i" "$pkgdir"/usr/share/asteroid-launcher/wallpapers/
	done
}

sha512sums="
a1e1bd9267bc39eef66bccc50c8fd76941e41cfc3d345cd72ddb39bc0381c91c78ab2540c1d69d0e15930a520ddcacb76fa5c843d49b2ab9877ddfd3ad174685  asteroid-wallpapers-9e0ba318b07dbff317bded53d4cfda1b6cc330c8.tar.gz
"
